<%--
  Created by IntelliJ IDEA.
  User: 郝龙飞
  Date: 2021/10/24
  Time: 19:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
    <link href="bootstrap-3.4.1-dist/css/bootstrap.min.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
    <form class="form-horizontal" action="/10-spring_web/controller/registServlet" method="post">
        <legend>用户注册</legend>
        <div class="form-group">
            <label for="inputId" class="col-sm-2 control-label">Id</label>
            <div class="col-sm-10">
                <input name="id" type="text" class="form-control" id="inputId" placeholder="Id">
            </div>
        </div>
        <div class="form-group">
            <label for="inputName" class="col-sm-2 control-label">Name</label>
            <div class="col-sm-10">
                <input name="name" type="text" class="form-control" id="inputName" placeholder="Name">
            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail" class="col-sm-2 control-label">Email</label>
            <div class="col-sm-10">
                <input name="email" type="text" class="form-control" id="inputEmail" placeholder="Email">
            </div>
        </div>
        <div class="form-group">
            <label for="inputAge" class="col-sm-2 control-label">Age</label>
            <div class="col-sm-10">
                <input name="age" type="text" class="form-control" id="inputAge" placeholder="Age">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="submit" class="btn btn-success" value="注册"/>
            </div>
        </div>
    </form>
</div>
</body>
</html>
